<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if (!function_exists('get_pager')) {
	function get_pager($colspan, $id = '') {
		if ($id != '') {
			$id = ' id="'.$id.'" ';
		}
		return '<tr>
	      <td class="pager" '.$id.'colspan="'.$colspan.'">
	        <img src="'.base_url().'lib/jquery/js/tablesorter/addons/pager/icons/first.png" class="first"/>
	        <img src="'.base_url().'lib/jquery/js/tablesorter/addons/pager/icons/prev.png" class="prev"/>
	        <span class="pagedisplay"></span>
	        <img src="'.base_url().'lib/jquery/js/tablesorter/addons/pager/icons/next.png" class="next"/>
	        <img src="'.base_url().'lib/jquery/js/tablesorter/addons/pager/icons/last.png" class="last"/>
	        <select class="pagesize">
	          <option value="10">10</option>
	          <option value="25">25</option>
	          <option value="50">50</option>
	        </select>
	      </td>
    	</tr>';
	}
}